package com.qf.service;

import com.qf.entity.Order;
import com.qf.entity.OrderDTO;

import java.util.List;

public interface OrderService {

    // 订单的分页查询
    List<Order> fuzzyQueryOrder(OrderDTO orderDTO);

    // 订单的新增
    boolean addOrder(Order order);

    // 根据订单编号更新订单信息
    boolean updateOrder(Order order);

    // 逻辑删除订单
    boolean deleteOrderById(Long id);

    // 批量逻辑删除订单
    boolean deleteBatchOrderById(List<Long> ids);
}
